package com.hospital.common.core.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author lvyao
 * @since 2021-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("HL7_MESSAGE_LOGS")
public class Hl7MessageLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("GUID")
    private String guid;

    @TableField("MESSAGE")
    private String message;

    @TableField("STATUS")
    private String status;

    @TableField("COUNT")
    private Integer count;

    @TableField("CREATE_DATE")
    private Date createDate;

    @TableField("UPDATE_DATE")
    private Date updateDate;

    @TableField("FROM_APP")
    private String fromApp;

    @TableField("TO_APP")
    private String toApp;

    @TableField("RES_VAL")
    private String resVal;

    @TableField("URL")
    private String url;

    @TableField("EVENT")
    private String event;

    @TableField("PATIENT_ID")
    private String patientId;

    @TableField("BMESSAGE")
    private byte[] bmessage;

    @TableField("CMESSAGE")
    private String cmessage;

    @TableField(exist = false)
    private String sendUrl;


}
